@import './../../../assets/css/CommonStyle.scss';
.am-toast-notice-content {
  position: fixed;
  bottom: 10px;
  width: calc(100vw - 20px);
  left: 10px;
}
@include media('>tablet') {
  .noMsgTitle {
    color: rgba($color: #333, $alpha: 0.2);
  }
  .CodewrapMsg {
    @include nowrap-elips;
    max-width: p-w(230);
  }
  .listItemCard {
    &:nth-child(3n + 1) {
      margin-left: 0px;
    }
    margin-left: 2%;
    width: 32%;
    box-shadow: 0px 0px m-w(4) 0px rgba(0, 0, 0, 0.1);
    margin-bottom: p-w(24);
    &:hover {
      box-shadow: 0px 0px p-w(20) 0px rgba(0, 0, 0, 0.15);
    }
    .icon_tips {
      height: 14px;
      width: 14px;
      margin-left: p-w(9);
    }
    .itemHeader {
      background: rgba(248, 250, 253, 1);
      color: rgba(51, 51, 51, 0.5);
      font-size: 12px;
      display: flex;
      justify-content: space-between;
      padding: p-w(16);

      .timer {
        @include nowrap-elips;
        max-width: p-w(230);
      }
      .name {
        @include nowrap-elips;
        max-width: p-w(113);
      }
    }
    .itemContentContainer {
      display: flex;
      padding: p-w(24) p-w(16) p-w(16) p-w(16);
      flex-direction: column;
      background-color: white;
    }
    .pcCardFooter {
      display: flex;
      font-size: 12px;
      background-color: white;
      justify-content: space-between;
      padding-top: p-w(16);
      color: rgba($color: #333, $alpha: 0.5);
      .visitNumber {
        @include nowrap-elips;
      }
      .timer {
        @include nowrap-elips;
        max-width: p-w(230);
      }
      .name {
        @include nowrap-elips;
        max-width: p-w(180);
      }
    }
    .itemContent {
      display: flex;
      border-bottom: 1px solid #f0f2f5;
      padding-bottom: p-w(14);
      .img {
        height: p-w(48);
        width: p-w(48);
        border-radius: p-w(24);
        margin-right: p-w(16);
      }
      .contentMsg {
        color: #333;
        font-size: 14px;
        .name {
          display: flex;
          align-items: center;
          font-size: 15px;
          color: #333;
          margin-bottom: p-w(16);
          height: p-w(30);
        }
        .nameTitle {
          @include nowrap-elips;
          align-items: center;
          font-size: 16px;
          color: #333;
          max-width: p-w(260);
        }
        .tradeCode {
          display: flex;
          margin-bottom: p-w(8);
        }
        .patientCode {
          display: flex;
          margin-bottom: p-w(8);
        }
        .visitNumber {
          display: flex;
          max-width: p-w(260);
          margin-bottom: p-w(8);
        }
      }
    }
    .itemfooter {
      display: flex;
      background-color: #f8fafd;
      padding: p-w(14) p-w(16);
      .disabledColor {
        color: rgba(black, 0.25) !important;
      }
      //   .rightLine {
      //     // border-right: 1px solid rgba($color: #333, $alpha: 0.2);
      //   }
      .action {
        display: flex;
        flex: 1;
        color: #429cff;
        font-size: 14px;
        justify-content: center;
        background-color: #f8fafd;
      }
    }
  }
}

@include media('>phone', '<=tablet') {
  .CodewrapMsg {
    @include nowrap-elips;
    max-width: pad-w(230);
  }
  .listItemCard {
    &:nth-child(3n + 1) {
      margin-left: 0px;
    }
    margin-left: 2%;
    width: 32%;
    box-shadow: 0px 0px m-w(4) 0px rgba(0, 0, 0, 0.1);
    margin-bottom: pad-w(24);
    .newTitle {
      margin-right: pad-w(10);
    }
    &:hover {
      box-shadow: 0px 0px pad-w(20) 0px rgba(0, 0, 0, 0.15);
    }
    .icon_tips {
      margin-left: pad-w(9);
      height: pad-w(24);
      width: pad-w(24);
    }
    .noMsgTitle {
      color: rgba($color: #333, $alpha: 0.2);
    }
    .itemHeader {
      background: rgba(248, 250, 253, 1);
      color: rgba(51, 51, 51, 0.5);
      font-size: pad-w(12);
      display: flex;
      justify-content: space-between;
      padding: pad-w(16);

      .timer {
        @include nowrap-elips;
        max-width: pad-w(330);
      }
      .name {
        @include nowrap-elips;
        max-width: pad-w(240);
        // display: flex;
        // justify-content: flex-end;
      }
    }
    // .itemContentContainer {
    //   display: flex;
    //   padding: pad-w(24) pad-w(16);
    //   flex-direction: column;
    //   background-color: white;
    // }

    .pcCardFooter {
      display: none;
      font-size: 12px;
      background-color: white;
      justify-content: space-between;
      padding-top: pad-w(16);
      color: rgba($color: #333, $alpha: 0.5);
      .timer {
        @include nowrap-elips;
        max-width: pad-w(230);
      }
      .name {
        @include nowrap-elips;
        max-width: pad-w(180);
      }
    }
    .itemContent {
      display: flex;
      background-color: white;
      border-bottom: 1px dashed rgba($color: #333, $alpha: 0.2);
      padding: pad-w(14);
      .img {
        height: pad-w(48);
        width: pad-w(48);
        border-radius: pad-w(24);
        margin-right: pad-w(16);
      }
      .contentMsg {
        color: #333;
        font-size: pad-w(14);
        .name {
          display: flex;
          font-size: pad-w(16);
          color: #333;
          margin-bottom: pad-w(16);
          align-items: center;
        }
        .tradeCode {
          display: flex;
          margin-bottom: pad-w(8);
        }
        .patientCode {
          display: flex;
          margin-bottom: pad-w(8);
        }
        .visitNumber {
          margin-bottom: pad-w(8);
          @include nowrap-elips;
          max-width: pad-w(250);
        }
      }
    }
    .itemfooter {
      display: flex;
      padding: pad-w(14);
      background-color: white;
      padding: pad-w(24) pad-w(30);
      .disabledColor {
        color: rgba(black, 0.25);
      }
      .rightLine {
        border-right: 1px solid rgba($color: #333, $alpha: 0.2);
      }
      .action {
        display: flex;
        flex: 1;
        color: #429cff;
        font-size: 14px;
        justify-content: center;
        background-color: white;
      }
    }
  }
}

@include media('<=phone') {
  .listItemCard {
    width: 100%;
    box-shadow: 0px 0px m-w(4) 0px rgba(0, 0, 0, 0.1);
    margin-bottom: m-w(24);
    background-color: white;
    .newTitle {
      display: block;
      width: m-w(168);
      margin-right: m-w(30);
    }
    .icon_tips {
      height: m-w(24);
      width: m-w(24);
      margin-left: m-w(9);
    }
    .noMsgTitle {
      color: rgba($color: #333, $alpha: 0.2);
    }
    &:hover {
      box-shadow: 0px 0px m-w(20) 0px rgba(0, 0, 0, 0.15);
    }
    .itemHeader {
      background: rgba(248, 250, 253, 1);
      color: rgba(51, 51, 51, 0.5);
      font-size: m-w(22);
      display: flex;
      padding: m-w(24) m-w(30);
      justify-content: space-between;
      .timer {
        display: flex;
        flex: 1;
        font-size: m-w(22);
        min-width: 204px;
        max-width: m-w(200);
      }
      .name {
        display: flex;
        flex: 1;
        max-width: 250px;
        justify-content: flex-end;
        .nameWrap {
          @include nowrap-elips;
          max-width: m-w(160);
        }
        // display: flex;
        // justify-content: flex-end;
      }
    }
    .itemCardContainer {
      padding: m-w(24) m-w(16);
      padding-bottom: 0px;
    }
    .pcCardFooter {
      display: none;
    }
    .itemContent {
      display: flex;
      background-color: white;
      border-bottom: 1px dashed rgba($color: #333, $alpha: 0.2);
      .img {
        height: m-w(100);
        width: m-w(100);
        margin-right: m-w(16);
      }
      .contentMsg {
        color: #333;
        font-size: m-w(24);
        padding-bottom: m-w(20);
        width: 100%;
        .name {
          display: flex;
          font-size: m-w(30);
          color: #333;
          margin-bottom: m-w(24);
          align-items: center;
        }
        .nameTitle {
          @include nowrap-elips;
          align-items: center;
          font-size: 16px;
          color: #333;
          max-width: m-w(260);
        }
        .tradeCode {
          display: flex;
          margin-bottom: m-w(16);
        }
        .CodewrapMsg {
          @include nowrap-elips;
          max-width: m-w(360);
        }
        .patientCode {
          display: flex;
          margin-bottom: m-w(16);
        }
        .visitNumber {
          display: flex;
          margin-bottom: m-w(16);
        }
      }
    }
    .itemfooter {
      display: flex;
      padding: m-w(14);
      background-color: white;
      padding: m-w(24) m-w(30);
      .action {
        display: flex;
        flex: 1;
        color: #429cff;
        font-size: m-w(28);
        justify-content: center;
        background-color: white;
      }
      .disabledColor {
        color: rgba(black, 0.25);
      }
      .rightLine {
        border-right: 1px solid rgba($color: #333, $alpha: 0.2);
      }
    }
  }
}
